<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        margin: 0;
        padding: 0;
        list-style: none;
      }
      ul {
        width: 590px;
        height: 470px;
        margin: 100px auto;
        position: relative;
      }
      ul > li {
        position: absolute;
      }
      ul > li:nth-child(2) {
        z-index: 1;
      }
      ul > div {
        position: absolute;
        z-index: 999;
        bottom: 20px;
        left: 50px;
      }
      ul > div > a {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        margin-right: 4px;
        float: left;
        /* 将背景颜色设置到内容区，边框和内边距不在有背景颜色 */
        background-clip: content-box;
        border: 2px solid transparent;
      }
      ul > div > a:hover {
        border: 2px solid rgba(255, 255, 255, 0.1);
        background-color: aliceblue;
      }
    </style>
  </head>
  <body>
    <ul>
      <li>
        <a href="javascript:;"><img src="picture/7.jpg" alt="" /></a>
      </li>
      <li>
        <a href="javascript:;"><img src="picture/6.jpg" alt="" /></a>
      </li>
      <li>
        <a href="javascript:;"><img src="picture/5.jpg" alt="" /></a>
      </li>
      <li>
        <a href="javascript:;"><img src="picture/4.jpg" alt="" /></a>
      </li>
      <li>
        <a href="javascript:;"><img src="picture/3.jpg" alt="" /></a>
      </li>
      <li>
        <a href="javascript:;"><img src="picture/2.jpg" alt="" /></a>
      </li>
      <li>
        <a href="javascript:;"><img src="picture/1.jpg" alt="" /></a>
      </li>
      <div>
        <a href=""></a>
        <a href=""></a>
        <a href=""></a>
        <a href=""></a>
        <a href=""></a>
        <a href=""></a>
        <a href=""></a>
        <a href=""></a>
      </div>
    </ul>
  </body>
</html>
